what does this mean?? any idea what is causing this error?

DeployServiceException: Service error: 403 Forbidden in DeployServiceRest->httpRequest() (line 70 of /home/path/to/sites/all/modules/deploy/includes/DeployServiceRest.inc).

Comments

aspilicious’s picture

1) your sites are behind some kinda http inlog system
2) entered incorrect url and/or admin combination

sea4’s picture

Hi, thanks for your reply.

can you explain "http inlog system" ?

The error comes up after the source server successfully authenticate with the destination server.

thanks again
Stan

darrenmothersele’s picture

I am getting the same 403 error, also after the source server has successfully authenticated with the destination server. I have tracked it down to a custom dependency I have added using hook_entity_dependencies() from the entity_dependency module. If I comment out the dependency the deploy fails because of failed dependencies. If I put the dependency back in I get a 403 error.

I'll report back once I've solved it.

darrenmothersele’s picture

For me this issue was caused by the fact I was trying to add an entity dependency that was not using the ID from the object being depended on. I removed the call to entity_dependency_add() and replaced with an EntityFieldQuery to look up the correct dependent object and the 403 has gone away.

rob_johnston’s picture

For me this issue was caused by not allowing the PUT verb for PHP in IIS6.

man-1982’s picture

If your used OpenServer than find and commented code in apache settings

 <LimitExcept GET POST HEAD>
        Order deny,allow
        Deny from all
    </LimitExcept>

This settings deny Rest request on server.
Original solution in http://open-server.ru/forum/viewtopic.php?f=3&t=964
P/S
path to settings c:\OpenServer\userdata\config\

j.b’s picture

i've got the same error.
The error is displayed after deploying around 5 nodes.
I cannot find a solution to this.

priya.chat’s picture

Issue summary: View changes

I am getting same error for entity reference fields. I have followed your comment @darrenmothersele, #4 but don't understand how can I replace entity_dependency_add with EntityFieldQuery for entity reference fields to add the dependency.