cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Issue while using very simple PATCH method for OData for ContactCollection

dhruv_mehta
Active Contributor
0 Kudos

Dear All,

We are trying to Update the Contact Email from Odata service.

Somehow its not working! and I am getting Error message as response:

The Data Services Request contains SystemQueryOptions that are not allowed for this Request Type

And I am following standard Odata guidelines provided by SAP.

https://help.sap.com/doc/d0f9ba822c08405da7d88174b304df84/LATEST/en-US/index.html#/topic/Contact

As you can see my Request payload is also as simple as it can get ๐Ÿ˜ž but no success.

FYI : I am passing all other things like X-csrf-token and everything.

Has anyone faced this issue?

Regards, Dhruvin

Accepted Solutions (1)

Accepted Solutions (1)

Hi Dhruvin,

In screenshot it seems that you have selected Text type for input.

Please try by selecting JSON(application/json) there.

Regards,

Sujata

dhruv_mehta
Active Contributor
0 Kudos

Hi Sujata,

Thanks for input.

But still the same issue ๐Ÿ˜ž


Regards,

Dhruvin

0 Kudos

Hi Dhruvin,

Please remove ?$format=json from service URL and try.

hope it will work:)

Regards,

Sujata

dhruv_mehta
Active Contributor
0 Kudos

haha! Awesome , it worked like a charm!

Thanks!

Answers (0)