'ConnectionError: Unknown service '//blp/refdata' when running bquery = blp.BlpQuery().start()

When running the script:

from blp import blp
bquery = blp.BlpQuery().start()

I'm getting error:

ConnectionError: Unknown service '//blp/refdata' when running bquery = blp.BlpQuery().start()

Any idea what could be causing this?



Solution 1:[1]

From Bloomberg - this fixed it:Start Menu, then navigate to the Bloomberg folder, and then click "Stop API Process."

When the window pops up, please follow the on-screen prompts to close out of all Microsoft Office programs.

Please go to your Start Menu > Bloomberg > API Environment Diagnostics. In the window that opens, please click "Start." and then "Repair"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Welsh