Getting '{"publication":["Invalid hyperlink - Object does not exist."]}' error when publishing a content-view on connected Satellite or when importing contents to a disconnected Satellite

Solution Verified - Updated -

Issue

  • Publish content-view task (on connected Satellite) or Import task (on disconnected Satellite) failed with following error and ended in paused/error state.

    • Satellite 6.10:
    PulpRpmClient::ApiError
    
    Error message: the server returns an error HTTP status code: 400 Response headers: {"Date"=>"xxxxxxxxxxxx", "Server"=>"gunicorn", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"GET, PUT, PATCH, DELETE, HEAD, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"62", "Correlation-ID"=>"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"XXX satellite.example.com", "Connection"=>"close"} Response body: {"publication":["Invalid hyperlink - Object does not exist."]} 
    
    • Satellite 6.11:
    The repository's publication is missing. Please run a 'complete sync' on <REPOSITORY_NAME>.
    

Environment

  • Red Hat Satellite 6.10+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content