API throws 403 even after sucessfull request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pajjaeu
    Junior Member
    • Aug 2024
    • 1

    API throws 403 even after sucessfull request

    I am using API to sync orders between store and ERP/CRM, I am using the SalesOrder endpoint, but the client throws 403 even after sucessfull creation of the order, any help? I need to add some other actions after sucessfull creation...
  • lazovic
    Super Moderator
    • Jan 2022
    • 879

    #2
    Hi pajjaeu,

    Please check if the correct authentication headers are specified and also if the API user has access to the entities that are processed using the API request.

    More about API in EspoCRM you can find here: https://docs.espocrm.com/development...authentication.

    Comment


    • pajjaeu
      pajjaeu commented
      Editing a comment
      Yeah, I am using PHP client, so the headers are correct (the order is created in the CRM) access is also correct. Also I cannot use READ and UPDATE (throws 403 too), just LIST and CREATE...
Working...