API calls to standard Sandbox does not update data | Community
Skip to main content

API calls to standard Sandbox does not update data

  • September 6, 2024
  • 0 replies
  • 0 views

We're developing an application using Zendesk APIs and as I am testing using Postman I notice that all requests return HTTP 200 but don't actually update the data. I even used the same request published in the Zendesk Postman Collection

 

For example this request to create a new user returns HTTP 200 and returns the list of users in the sandbox but the user does has not been created.  Same for other requests to update users, manage user_fields or tags. If I make changes in the Sandbox through the UI then I can see those changes in GET requests

 

This is a Standard sandbox. Even if I send an invalid JSON I still get HTTP 200 response. How do I resolve this so I can test our app?

curl --location 'cheggskills1724870952.zendesk.com/api/v2/users' \

--header 'Content-Type: application/json' \

--header 'Accept: application/json' \

--header 'Authorization: ' \

--data-raw '{

"user": {

"name": "User Name",

"email": "user@email.com"

}

}'