API swagger import license URL length limit

Muriuki, Levi M 251 Reputation points
2022-08-17T15:33:13.177+00:00

We've started noticing recently that APIM is imposing a 128 character length limit for the license URL (see below). What is the reason behind this restriction?

232094-image.png

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,877 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 22,996 Reputation points
    2022-08-22T03:34:22.1+00:00

    Hi @Muriuki, Levi M Thanks for your patience. I had a discussion with Product Group team, and they confirmed that they will raise the limit but changes will not reflect immediately it should be deployed within a month.

    Meanwhile thy informed it is best to use shorter URI.

    Do let me know if you have any queries.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 22,996 Reputation points
    2022-08-17T16:59:58.383+00:00

    Hi @Muriuki, Levi M Thanks for reaching out. I had discussion internally and confirmed that there is no particular reason, just some restriction was needed so it was kept up to 128 characters. could you please share me the swagger. Json file or let me know how long your license URL is?

    let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.