Skip to content

Zekt Gate troubleshooting and limits

These are the screens an Entra administrator can land on in step 2, by title.

ScreenWhat it meansWhat to do
Approval was not completedThe approval was declined, or the account you signed in with can’t grant admin consent in the directory. Nothing changed.Sign in with an account that can grant tenant-wide admin consent, and follow the link again.
This link is no longer validThe link expired, or a newer link replaced it, for example after the tenant ID was changed in step 1. Nothing changed.Ask the person who sent the link for a new one.
This took a little too longThe approval page was open for more than 10 minutes. Nothing changed.Follow the link again.
This could not be confirmedZekt Gate couldn’t confirm the approval with Microsoft, so nothing was connected. Most often, you signed in to a different directory from the one named in step 1.Ask the person who sent the link to start again, and sign in to the directory named in step 1.
This directory is already in useThe directory is already connected to a Zekt account. A directory can serve only one. Nothing changed.Ask the person who sent the link to contact Zekt.
This enrollment has expiredThe enrollment the link belongs to is no longer active, so nothing was connected.Start again from step 1.
Zekt did not confirm thisYour approval went through, but Zekt didn’t answer in time. The connection may have completed.Don’t try again. Ask the person who sent the link to check with Zekt before anything else is started.
Zekt did not complete thisYour approval went through, but Zekt didn’t complete the connection, so nothing was connected.Ask the person who sent the link to check with Zekt.

Response bodies are JSON.

ResponseWhat it meansWhat to do
401 {"decision":"refused"}Zekt Gate refused the call. No reason is given, on purpose. Possible causes: the token wasn’t accepted, the application isn’t on the account’s list, the directory isn’t enrolled, trust is stopped, the token belongs to a person (delegated) rather than an application, or the Zekt account isn’t in good standing.Check the application’s row under Applications in the Zekt Gate App. The row shows the application’s state; a refused call isn’t recorded there.
403 {"decision":"refused","reason":"role_required"}The token doesn’t hold Zekt Gate Caller.Grant Gate.Caller with admin consent, then get a new token. Tokens are cached for up to about an hour, and a token issued before the grant still has no role.
429 {"decision":"refused"} or {"error":"rate_limited"}Too many calls. The response has a Retry-After header.Wait the number of seconds in Retry-After.
404 {"error":"service_not_found"}There’s no such service, or it isn’t one this directory can see. The answer is the same for both, on purpose.List the workflows again and use an id from that list. Ids are opaque: don’t build or guess them. If the service has gone from the list, it was removed or is no longer under the directory’s GitHub organization.
404 {"error":"not_enrolled"}Zekt no longer has this directory enrolled, for example after Zekt Gate was discontinued for it.Someone with the Owner role on the Zekt account checks the directory in the Zekt Gate App. To use it again, enroll it again from step 1.
503 {"error":"unavailable"}Zekt didn’t answer, or answered something Zekt Gate couldn’t use. The response has a Retry-After header.Try again after the number of seconds in Retry-After.

An empty list is a real answer: Zekt Gate never uses one to mean “unavailable”.

Each application’s row under Applications shows its state.

StateWhat it meansWhat to do
Not yet seen callingThe application is on the list, but no call from it has reached Zekt Gate yet.—
This application called, but it does not hold Zekt Gate Caller.The application called without the role.Grant it Gate.Caller with admin consent, have it get a new token and call again, then select Refresh. A token issued before the grant still has no role.
ReadyThe application holds Zekt Gate Caller and is on the list.Nothing else is needed on Zekt Gate’s side.

In the App’s Workflows list, a Not ready row says why. New reasons can appear, so treat this as an open list. After a fix, select Check again on the row.

The App saysWhat to do
This workflow can’t be started from outside GitHub.Add workflow_dispatch to it.
This workflow doesn’t define its inputs, so Zekt Gate can’t build a form for it.Declare its inputs, with a type and description each.
One or more inputs have no type or description.Add both to every input.
An input uses a type Zekt Gate doesn’t accept.Use string, boolean, choice or number.
A choice input has no options.List its options.
This workflow has more inputs than GitHub allows.Reduce them to 25.
This service has no published schema.Publish one at Zekt.
Zekt doesn’t allow this workflow to run.Allow it at Zekt.
This workflow is switched off in GitHub.Enable it in GitHub.
This workflow’s repository is archived.Unarchive it, or remove the service at Zekt.
Zekt can’t read this workflow right now.Try again. Nothing is wrong with your schema.
This workflow can’t be started from here.No fix is given: the App doesn’t recognize the reason.
LimitValue
Applications on an account’s listUp to 50
Calls per applicationAbout 30 a minute, then 429. It’s “about” because calls are counted per server, not globally.
Approving in step 2A deadline set by Zekt. Once it passes, start again from step 1.