[英]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.当我尝试通过 API 调用从 salesforce 数据库中提取记录时,与我在 postman 中调用订单时相比,我得到的响应不同。 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 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)
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.有时会根据应用程序中维护的组来获取数据,在这种情况下,您也可以看到 output 的差异。
Check in your code whether you are maintaining any groups.检查您的代码是否维护任何组。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.