You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a policy with an app id >50 char the DB fails with "pq: value too long for type character varying(50)" and we return 500 intead of a 400 and message appId too long.
The text was updated successfully, but these errors were encountered:
KevinJCross
changed the title
Adding policy fails incorrectly when appId >50
Adding policy fails incorrectly when appId string length > 50
Apr 21, 2022
I assume that “app id” means “App-GUID” which can not be longer than 36 characters. We could perhaps improve the error messaging here, catch these cases and return another message different from 500.
When creating a policy with an app id >50 char the DB fails with "pq: value too long for type character varying(50)" and we return 500 intead of a 400 and message appId too long.
The text was updated successfully, but these errors were encountered: