REST is giving 404 error when the alias name has digit at the end

avdhoota n asked on November 8, 2017 09:54

Hi team,

I am accessing document through REST api. Whenever a document has digit at end, it is giving 404 error.

for ex. http://my-site.com/rest/content/site/ContentRepository/en-us/document/abc 360/Cardiovascular/Cardiac Assist Devices/Cardiac Assist Devices - Medtech 360 - Market (1)

Above url gives 404 error but following works fine

http://my-site.com/rest/content/site/ContentRepository/en-us/document/Medtech 360/Cardiovascular/Cardiac Assist Devices/Cardiac Assist Devices - Medtech 360 - Market Tren

Please let me know how to fix this Alias issue.

Thanks, Avdhoota

Recent Answers


Brenden Kehren answered on November 9, 2017 14:59

Neither of the URLs are valid URLs because of the spaces in them.

Have you tried something like SoapUI to make the calls and see what is going on with your call?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.