简体   繁体   中英

Mismatch between the data received from POSTMAN compared to JAVA rest api call

enter image description here Hi Team,

When I am trying to pull the records from salesforce database by an API call I'm getting a response differently compared to when I make the call in postman for a order. I am not getting any errors but the java rest api call response is not getting the same response as I was expecting from the salesforce output. I tried switching the browser clearing the cache and that didn't work. From Java rest api call I see two records obtained but when I did with salesforce I can see one (PS I used the same url and copied the same token from java rest get call)

can you please check whether you are hitting with the same user/ same user bearer token.

some times the data will be fetched based on the groups maintained in the application, in that case also you can see the difference in the output.

Check in your code whether you are maintaining any groups.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM