It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bad Request - Invalid URL when loading page Confluence


We currently have the problem that someone created a page and by mistake somehow entered a "tab" symbol in the page name.  Now the page is published and we are unable to access the page again. When we try to view page we get the notification: "Bad request - Invalid URL" HTTP Error 400, The Request URL is invalid. 

Looking for a troubleshooting solution I found the following information:

However, I have troubles to get the Id, since in Confluence 6.7 as soon as you click on edit, it's not editpage.action.....anymore but it is /resumedraft.action?draftId=<darft-id>draftShareId=<draft shared number>

Has someone an idea where to get this numbers from? Is there any possibility to access the page again?

Thank you very much in advance for your help!

5 answers

0 votes
Thomas Schlegel Community Leader Mar 19, 2018

Hi Claudia,

if you know the page id, you don't need the draft and share-ids.

Do you see the link to the page e.g. in the page tree? Then you can click with the right-mouse-button on the link and copy the url to the clipboard.

Then paste the link in a new browser window, and change "viewpage" to "editpage".

Hey Thomas,

Thank you very much for your quick reply!

I already tried to do that, but it doesn't work. When I copy the link from the page tree I just get<SPACEKEY>/<PAGENAME>

If I try to use the option/version from the link I shared above, which would be <baseURL>/pages/editpage.action?pageId=<PAGEID_FROM_QUERY>, I need a page ID, which I don't have.

So, somehow this option doesn't seem to work for me :(

Thomas Schlegel Community Leader Mar 19, 2018

@Claudia Auer-Berger do you see the page in the "recently updated" macro?

There is a link "view change" - this one should also provide you the page id

Thomas Schlegel Community Leader Mar 20, 2018

@Claudia Auer-Berger

If you put the children-macro on the parent page of the broken page, it should also give you the page-id, if you hover over the link.

0 votes
AnnWorley Atlassian Team Mar 19, 2018

Hi Claudia,

In Confluence 6.7 you may get the page ID by going to View History on the ... menu while viewing the page:

Screen Shot 2018-03-19 at 10.14.07 AM.png


Screen Shot 2018-03-19 at 10.14.27 AM.png

Hi Ann,

thank you very much for your quick reply!

Unfortunately that doesn't work for me. Since I'm unable to access the page itself  - I can't view it -  I'm unable to view the page history.

Thomas Schlegel Community Leader Mar 19, 2018

@AnnWorley but she can't view the page...

AnnWorley Atlassian Team Mar 19, 2018

Oh derp - thanks @Thomas Schlegel!

Thomas Schlegel Community Leader Mar 19, 2018


Unfortunately not, so this is not an option (I see it in the recent space activity macro, but since there were no changes made because the page was freshly published for the first time, I can't click on view changes.

0 votes
AnnWorley Atlassian Team Mar 19, 2018

@Claudia Auer-Berger Please try a SQL select statement on your database to get the pageid.

A little research on my Confluence 6.7 database revealed that the pageid column is null for the PAGE content type in the database. So you have to use the contentid as page ID for the latest version. To see all the versions, please try this SQL:

select contentid, version, title from content where contenttype = 'PAGE' and title like %<PAGE_TITLE>%;

Then use the contentid for the highest version as the pageId in the URL:


 I look forward to hearing how it goes.



see below comment

The other way to fix this issue is:

  1. Go to any editable page
  2. Click on edit button, navigate to insert more content->other macros option
  3. in the search tab, enter "space page ids with Title"
  4. Temporarily insert it and do a preview
  5. You will find the page id of all the pages.
  6. Use the problematic pageid and edit using : <baseURL>/pages/editpage.action?pageId=<pageid>
  7. Now delete the line or heading/title that is creating problem and try publishing the page again.
        In my case the heading had something like
               [title]:- [id]... I had to delete the "[" and keep plain text to resolve the issue
  8. insert_macro.JPGspace.JPG

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,196 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you