# I am doing Building a Data Warehouse on Matillion Academy.
In the level 3, I am getting exception 403: ForbiddenException while attempting to create an endpoint in the API profile. Anybody knows the solution?

**URL:** <https://matillioncommunity.discourse.group/t/i-am-doing-building-a-data-warehouse-on-matillion-academy-in-the-level-3-i-am-getting-exception-403-forbiddenexception-while-attempting-to-create-an-endpoint-in-the-api-profile-anybody-knows-the-solution/1438>\
**Category:** Matillion ETL\
**Created:** [September 7, 2021, 2:38pm UTC](https://matillioncommunity.discourse.group/t/i-am-doing-building-a-data-warehouse-on-matillion-academy-in-the-level-3-i-am-getting-exception-403-forbiddenexception-while-attempting-to-create-an-endpoint-in-the-api-profile-anybody-knows-the-solution/1438 "2021-09-07T14:38:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeelamMacwan](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@NeelamMacwan](https://matillioncommunity.discourse.group/u/NeelamMacwan)\
**Post date:** [September 7, 2021, 2:38pm UTC](https://matillioncommunity.discourse.group/t/i-am-doing-building-a-data-warehouse-on-matillion-academy-in-the-level-3-i-am-getting-exception-403-forbiddenexception-while-attempting-to-create-an-endpoint-in-the-api-profile-anybody-knows-the-solution/1438/1 "2021-09-07T14:38:29Z")

</div>

![0694G00000GGSdAQAX_0D54G00007tgpxOSAQ](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/05b3676dd40f703327ef552b8df1b28d64a8d2c8.jpeg)

---

<div class="post-metadata">

**Author:** ![ian.funnell](https://sea2.discourse-cdn.com/flex002/user_avatar/matillioncommunity.discourse.group/ian.funnell/32/605_2.png) [@ian.funnell](https://matillioncommunity.discourse.group/u/ian.funnell)\
**Post date:** [September 7, 2021, 4:41pm UTC](https://matillioncommunity.discourse.group/t/i-am-doing-building-a-data-warehouse-on-matillion-academy-in-the-level-3-i-am-getting-exception-403-forbiddenexception-while-attempting-to-create-an-endpoint-in-the-api-profile-anybody-knows-the-solution/1438/2 "2021-09-07T16:41:31Z")

</div>

Hi [@NeelamMacwan](https://matillioncommunity.discourse.group/u/NeelamMacwan)​,

A 403 error definitely looks like an authorization problem. There's a username and a password for that API, which you have to supply to make it work.

Are you certain you have the Authorization header correct? Hint: it should be something like this: **Authorization: Basic YXB...cGk=**

Best regards,

Ian

---

<div class="post-metadata">

**Author:** ![NeelamMacwan](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@NeelamMacwan](https://matillioncommunity.discourse.group/u/NeelamMacwan)\
**Post date:** [September 10, 2021, 8:51am UTC](https://matillioncommunity.discourse.group/t/i-am-doing-building-a-data-warehouse-on-matillion-academy-in-the-level-3-i-am-getting-exception-403-forbiddenexception-while-attempting-to-create-an-endpoint-in-the-api-profile-anybody-knows-the-solution/1438/3 "2021-09-10T08:51:09Z")

</div>

Thank for your reply, Ian.

&nbsp;

Yes, I have supplied the username and password as given in the course. Do I need to change anything in the Param.

Also, I am following the course guide correctly which informs about using basic authentication: username and password.

Can you please check what could be the issue here.

&nbsp;

Regards,

Neelam

&nbsp;

&nbsp;
