Spoke development - OAuth Token Via MID server issue

Tim-S
Tera Guru

Hi,

 

I've created a spoke, based on the YAML representation of a REST endpoint.

 

Part of the process is creating / configuring the Connection Alias and associated connection/credential/oauth config etc. I believe this configuration is OK, but when I try and get a REST token (from the link on the credential record) I get this:

 

Screenshot 2026-02-25 114758.png

 

This is the configuration of the credential (yeah, I'll tidy the auto-generated name up!):

 

Screenshot 2026-02-25 114826.png

 

So the mid server is specified. This is the app registry record:

 

Screenshot 2026-02-25 114659.png

 

I've checked the outbound http log and can see the HTTP post to get the token:

 

Screenshot 2026-02-25 114950.png

 

As you can see the MID server is not specified in the request and there are no associated records in the ecc_queue.

 

I guess there's a configuration issue somewhere, any ideas would be appreciated, thanks!

 

 

6 REPLIES 6

Tanushree Maiti
Giga Sage

Hi @Tim-S ,

Can you please stop/disable your Additional script and go to your connection aliases-> Set the mid server there

Screenshot 2026-02-25 203522.jpg

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi, the MID server was already configured there too, thanks!