# oAuth2 Web services parameter missing errors

**URL:** <https://forum.inductiveautomation.com/t/oauth2-web-services-parameter-missing-errors/71087>\
**Category:** 3rd Party Modules\
**Tags:** ignition79\
**Created:** [March 15, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/oauth2-web-services-parameter-missing-errors/71087 "2023-03-15T12:25:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![redGnome](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@redGnome](https://forum.inductiveautomation.com/u/redGnome)\
**Post date:** [March 15, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/oauth2-web-services-parameter-missing-errors/71087/1 "2023-03-15T12:25:23Z")

</div>

I have been trying to interface with a 3rd party vendor that stores data in a cloud environment and uses an OAuth2.0 based authentication to read/write data from/to their site. Using POST function from Postman application we obtain token every time, token string is returned - there is no errors. When we want to use Web Services RESTful consumer we got error like this: "The request body must contain the following parameter: 'grant\_type'". RESTful customer definition (section 'Request JSON Body') contains definition all required parameters (in this case single defined four parameters - the same like in Postman application). We heve been trying to define for example dictionary named 'body' contained these parameters but we still got the same error. What could be done/change more to get correct answer from web service? Why service can't see sent parameters? Any suggestions?

---

<div class="post-metadata">

**Author:** ![jesse.records](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jesse.records/32/10960_2.png) [@jesse.records](https://forum.inductiveautomation.com/u/jesse.records)\
**Post date:** [March 15, 2023, 2:48pm UTC](https://forum.inductiveautomation.com/t/oauth2-web-services-parameter-missing-errors/71087/2 "2023-03-15T14:48:34Z")

</div>

There is a logger you can set on the gateway to Trace to see the request body sent.

**com.sepasoft.webservice** - set to Trace

Do your request again and check the logs for an entry like RESTMessageBuilder.

I wouldn't ask you to post the information to this public forum but rather create a ticket so we can see the issue firsthand: [Need Help? Create a Ticket, Email, Call, or Visit us Online | Sepasoft MES Solutions](https://www.sepasoft.com/support/)

---

<div class="post-metadata">

**Author:** ![redGnome](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@redGnome](https://forum.inductiveautomation.com/u/redGnome)\
**Post date:** [March 15, 2023, 3:29pm UTC](https://forum.inductiveautomation.com/t/oauth2-web-services-parameter-missing-errors/71087/3 "2023-03-15T15:29:01Z")

</div>

Ok, I'll create ticket  
Thank you
