# BHS server ID for openstack4J

**URL:** <https://community.ovhcloud.com/t/bhs-server-id-for-openstack4j/26317>\
**Category:** Public Cloud\
**Created:** [Novembre 2, 2020, 11:26 UTC](https://community.ovhcloud.com/t/bhs-server-id-for-openstack4j/26317 "2020-11-02T23:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://community.ovhcloud.com/user_avatar/community.ovhcloud.com/system/32/5_2.png) [@system](https://community.ovhcloud.com/u/system)\
**Post date:** [Novembre 2, 2020, 11:26 UTC](https://community.ovhcloud.com/t/bhs-server-id-for-openstack4j/26317/1 "2020-11-02T23:26:25Z")

</div>

Hi, i'm trying to use openstack4J to upload files from a JAVA web app and by default i'm uploading the fles to the UK server. I'm in South America so I would need to change the server I'm using to Canada (BHS) to get a better latency.   
The problem is that when is use:  
` os.useRegion("bhs");`  
I get the following error: `Endpoint for 'nova' service could not be found for region: 'bhs'`  
Therefore I think that bhs is not the ID of the server and that's why openstack4J cannot find the server. Could you please help me?   
  
Regards!
