Erpnext API Oauth

I am creating a APP to implement and using REST API to create and fetch data like product, customers remotely. I need to create Oauth credentials for connect the Erpnext to remote server and make communication using API’s. Can anyone help me to create Oauth credentials.
I’m new to Erpnext so please anyone have any knowledge of creating and using REST API in Erpnext, share with me .
Thanks :slight_smile:

1 Like


Thanks , i am getting a weired error, may you can point out.
{"message":"UnauthorizedClientError(u'(unauthorized_client) <oauthlib.Request url=\"\", http_method=\"GET\", headers=\"{u\\'X-Use-X-Accel-Redirect\\': u\\'True\\', u\\'Accept-Language\\': u\\'en-GB,en-US;q=0.8,en;q=0.6\\', u\\'X-Frappe-Site-Name\\': u\\'\\', u\\'X-Forwarded-For\\': u\\',\\', u\\'Host\\': u\\'\\', u\\'Accept\\': u\\'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\\', u\\'User-Agent\\': u\\'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36\\', u\\'Connection\\': u\\'close\\', u\\'X-Forwarded-Proto\\': u\\'https\\', u\\'Cookie\\': u\\'_ga=GA1.2.1744596565.1499771878; _gid=GA1.2.757063278.1499771878; user_image=;; system_user=yes; full_name=Dev%20Testing; sid=45532a1c6f588b2e0392a6132a89068d25763793b7a59165755a85d7\\', u\\'X-Real-Ip\\': u\\'\\', u\\'Upgrade-Insecure-Requests\\': u\\'1\\', u\\'Accept-Encoding\\': u\\'gzip, deflate, br\\'}\", body=\"\">',)"}

I am having the same error. Did you fix it?

any solutions?