Error parsing HTTP 404 response body

Expected behavior

The Push new image from the Linux-AWS-Docker to the Docker-Hub is getting am error

Actual behavior

we getting error:
error parsing HTTP 404 response body: invalid character ‘p’ after top-level value: "404 page not found\n"
unknown blob

Additional Information

This error happened when right after the push into the Docker-Hub registry in process
i can push it manually with success

Steps to reproduce the behavior