How to run the cumulocity widget in my local machine

Product/components used and version/fix level are you on:

latest version

Detailed explanation of the problem:

I tried to login with my tenant id ,username, and password in my local host but its showing invalid credentials even though my credentials are correct
How to run the widget in my localhost

Error messages / full error message screenshot / log fileL

Is your question related to the free trial, or to a production (customer) instance?

production

Have you installed all the latest fixes for the products and systems you are using?

yes

What url is the start of your local server using?

The screenshot doesn’t show ‘Invalid credentials’ - can you post that screenshot?

You can check the command output, as it shows where it is proxying to:

Proxying requests to remote instance http://demos.cumulocity.com

Please check if you follow the documentation and use e.g.

c8ycli serve -u https://mytenant.eu-latest.cumulocity.com

https://cumulocity.com/guides/web/development-tools/#c8y-cli

“localhost:9000/apps/myapp/”

And could you please share any tutorial videos for customizing the widget and testing that on a local machine before build?

This is Dev tools, but what do you enter in the UI input boxes?

My tenant id, user name, and password

How does your command to run locally look like?

c8ycli serve ......

Additionally I would recommend to follow this tutorial series:

yes, c8ycli serve …

And in detail? Do you provide the “-u” parameter followed by the URL?

no I didn’t did that

Then please do so as mentioned in my previous post and it will work :slight_smile:

Thanks it’s working. Now new problem we need Data points chart in our local machine how we can achieve that

If my response helped then please mark it as “Accepted answer”.

For the data points chart question, please create a new post!
Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.