404 when editing existing macro config

Description

When choosing to edit an existing macro you're immediately given a 404 error with the existing git configuration instead of the preview of the actual file. This is a poor experience and gives users the impression their configuration is incorrect or there is an issue somewhere else.

Steps to reproduce:
1. Create a confluence page
2. Insert the github file macro
3. Configure the macro to point to a file in git and choose the preview
4. Save the macro config
5. Choose the macro and click edit
6. Receive the 404 error immediately upon the macro config showing up
7. Click the preview button without making any changes and get success

Environment

None

Status

Assignee

Andrey Levchenko

Reporter

Pavel Son

Labels

None

Sprint

None

Priority

Medium
Configure