Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Schedule API 500 Internal Server Error

kgalbert
9 - Comet

Hello!

 

I had a fun workflow that used a bunch of API calls to summarize everything that happened on the server yesterday and then email it to me.  This ran fine on 2021.4 for about 2 months.


We upgraded to 2023.1 yesterday and the workflow stopped working.  Looking at the details now, most of the API calls are working except for /v3/schedules/

 

This doesn't work when the server runs the workflows nor in designer itself.

 

What can I check on the server side to troubleshoot this?

 

The API error is pretty generic: 

{
"message": "An error has occurred."
}

 

HTTP/1.1 500 Internal Server Error
Content-Length: 43
Content-Type: application/json; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Headers: Content-Type, Accept, Authorization
Access-Control-Max-Age: 1728000
Date: Fri, 21 Feb 2025 21:49:35 GMT

 

This same workflow is calling these APIs successfully:

/v3/users

/v3/workflows

/admin/v1/workflows/jobs

/v1/workflows

 

Any insights are appreciated!

 

I even tried doing a smaller mockup workflow that just has 3 tools; Server API Authenticate, Record ID, and Server API GET.  This mockup can successfully run /v3/workflows, but just changing the selection the Action tab to /v3/schedules/ brings back the 500 error.

 

Thanks,
Ken

10 REPLIES 10
fmvizcaino
17 - Castor
17 - Castor

Thanks for sharing, @kgalbert . Please mark both of your answers as correct to help others. 

Gotta love MongoDB! 😂