Invalid recursion selector value 'metadata-schema'

Avatar

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
annaduraim74336
Level 1

10-10-2019

Hi All,

I am unable to access the metadata schema for the particular asset in AEM 6.2.

I am accessing page as : http://<serverip:4502/<contentpath>/sample.jpg.metadata-schema.json and It through the below error :

Invalid recursion selector value 'metadata-schema'

Cannot serve request to /<contentpath>/sample.jpg.metadata-schema.json in org.apache.sling.servlets.get.DefaultGetServlet

I am not sure if I am missing any configuration here or it is something wrong in my sling mapping.

Please give me any helps!

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

13-10-2019

Hi annaduraim74336024​,

Could you please perform below steps-

1. Access below url-

http://localhost:4502/system/console/components/

2. Search for com.day.cq.dam.core.impl.servlet.MetadataSchemaServlet

Check it's status is it active or not.

3. If it's not present or if it's not active then request will got to DefaultGetServlet which in turn uses the JsonRendererServlet to process your requests with .json extensions.

Since the JsonRendererServlet requires a numeric selector or the infinity selector, it throws the following error.

Invalid recursion selector value <<selector>>

Regards

Answers (7)

Answers (7)

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

11-10-2019

Could you please upload one of the asset.

As i am not able to reproduce it , it doesnt matter whether you are running with Mongo DB.

Avatar

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
annaduraim74336
Level 1

14-10-2019

Thanks, ka786It is working fine now. Thanks a lot.

Avatar

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
annaduraim74336
Level 1

11-10-2019

Thanks, ka786.

Avatar

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
annaduraim74336
Level 1

10-10-2019

Unable to access the metadata for all the assets. sorry for the earlier mentioned particular asset.

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

10-10-2019

Is it happening for a particular asset or all?

Avatar

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
annaduraim74336
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
annaduraim74336
Level 1

10-10-2019

Thanks for the reply. I tried on a different server is working fine. I am failed to get metadata on this server.

This AEM server is configured in MongoDB. I am not sure if I am missing any configuration or wrongly applied metadata-schema here. How to resolve this one?

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

10-10-2019

Just tried in my local server and it works fine(AEM 6.3) -

http://localhost:4502/content/dam/hero-04.jpg.metadata-schema.json

{"jcr:content/metadata/dc:title":{"label":"Title","value":null,"type":null},"jcr:content/metadata/dc:description":{"label":"Description","value":null,"type":null},"jcr:content/metadata/dc:format":{"label":"Type","value":"image/jpeg","type":"String"},"jcr:content/metadata/dc:language":.........

Could you please try in new server without your custom code.