Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

crx/packmgr/update.jsp 404

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

18-12-2018

Hi everyone,

I run into an issue with crx/packmgr/update.jsp. I try to update my package using python and requests.

params_aempage = {

        'groupName': group_name,

        'packageName': package_aempage,

        'path': '/etc/packages/{0}/{1}.zip'.format(group_name, package_aempage),

        'filter': json.dumps(cq_list),

        '_charset_': 'utf-8'

    }

url_update = 'my_url/crx/packmgr/update.jsp'

response = requests.get(url_update, data=json.dumps(params_aempage), headers=headers)

I receive 415 error,I understand why this error occur because  json file which I try to send can be large.

However when change method get to be post  I get 404 . So I have now Idea how I can avoid it.What can you recommend?

Thank you.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

19-12-2018

Checking internally if this is recommended way to perform this use case.

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

19-12-2018

Are you trying to update package details like name, description, group from external application. Make sure to provide login-token or authenticate with repository

More details will be helpful.

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

19-12-2018

I do provide login credential (login, password).I  try to send this dictionary

params_aempage = {

        'groupName': group_name,

        'packageName': package_aempage,

        'path': '/etc/packages/{0}/{1}.zip'.format(group_name, package_aempage),

        'filter': json.dumps(cq_list),

        '_charset_': 'utf-8'

    }

it works with method get if the dictionary is small but does not  work if the dictionary is huge.I change method get to post and I get 404.

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

29-12-2018

According to this link Adobe Experience Manager (AEM) API   should be good I can use method POST for /crx/packmgr/update.jsp but I face 404  when method get works fine

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

29-12-2018

Yes, I also noticed  '/crx/packmgr/update.jsp' doesn't work for 6.4

Adobe Experience Manager (AEM) API​ is an old swagger link for OAK 1.2+ which still works in AEM 6.1

6.3 and 6.4 docs, Using cURL with AEM, do not mention about this use case. I'm not sure if updating filters is still supported. Probably something for Scott/team to comment on.

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

30-12-2018

I can update only with method GET however sometimes I run into 414 error, it happens cuz url too long I pass to many roots to update.I changed method GET to POST which doesn't work I get 404 error.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

30-12-2018

I am not sure this is still supported in same way. I will check with the team.

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

30-12-2018

Thank you a lot,I hope we'll find  a solution

Avatar

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
evgenyb81780887
Level 2

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
evgenyb81780887
Level 2

11-01-2019

Hello

Is there any results of your investigation ?