---
# System prepended metadata

title: BRI Tilang mig

---

# BRI Tilang mig
error request rejected

![](https://hackmd.io/_uploads/B1zwH7Iqn.png)

```
> POST /v1/mpn/oauth/client_credential/accesstoken?grant_type=client_credentials?client_id=<redacted>&client_secret=<redacted> HTTP/1.1
> Host: partner.api.bri.co.id
> User-Agent: curl/7.76.1
> Accept: */*
> Content-Type:application/x-www-form-urlencoded
> 
* TLSv1.2 (IN), TLS header, Unknown (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Connection: close
< Content-Type: text/html; charset=utf-8
< Pragma: no-cache
< Content-Length: 189
< 
* Closing connection 0
* TLSv1.2 (OUT), TLS header, Unknown (21):
* TLSv1.2 (OUT), TLS alert, close notify (256):
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 12981166825239004576</body></html>
```

bash test
```bash
CID=redacted
CIS=redacted
curl -X POST -H "Content-Type:application/x-www-form-urlencoded" -vv\
        "https://partner.api.bri.co.id/v1/mpn/oauth/client_credential/accesstoken?grant_type=client_credentials&client_id=$CID&client_secret=$CIS"
        
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -vv \
        -d "grant_type=client_credentials?client_id=$CID&client_secret=$CIS" \
        "https://partner.api.bri.co.id/v1/mpn/oauth/client_credential/accesstoken?grant_type=client_credentials"
```