not able to run deploy_ref_to_production in python script

hi,

below error is occurring while I am automating looker deployment using deploy_ref_to_production method in cli. Also I checked I have deploy permission. the same lookml code gets deployed when done manually via looker but when I deploy it using deploy_ref_to_production , I get

Error occurred:

Looker Not Found (404) body { background-color: #2e343f; color: white; height: auto; font-family: Open Sans, Helvetica, Arial, sans-serif; } .message { width: 100%; max-width: 760px; margin: 0 auto; margin-top: 135px; text-align: center; } h2, h3 { font-weight: normal; } a { color: white; }

Looker

Looker is unavailable.

If you typed in a URL, double-check the spelling.

This may also be due to a temporary condition such as an outage, scheduled maintenance or upgrade.


If this message persists or you have any concerns,
contact us from help.looker.com and we'll respond promptly.

.

Can you please let me know how to use sdk.deploy_ref_to_production(project_id=project_id, branch=“test”) method in python.