What is api limit exceeded

Fox Business Outlook: Costco using some of its savings from GOP tax reform bill to raise their minimum wage to $14 an hour. 

To prevent an API from being overwhelmed, API owners often enforce a limit on the number of requests, or the quantity of data clients can consume. API rate limits can come in different forms: Fixed-window rate limiting limits the number of requests you can make over a specified period, such as a day or a month, to manage the overall load on a server. Apps can detect rate limits by checking if the HTTP response status code is 429. With request based quotas you are given a quota of say 10000 requests that you can make, each request you make removes one from your quota. This way, you avoid submitting several API requests for the same thing. With this approach, your API calling is to refresh your cache, and you serve requests from your cache. You have to delete records and free up some space or purchase additional space. Read the docs carefully for details! Feb 4, 2024 · Third-party apps can make up to 100 API calls per hour. Try to avoid LookUps in ForAll statements or galleries (each LookUp will result in an API call) Publish Date: Aug 31, 2023. We will strive to keep these instances brief and rare. Raw file requests: the number of times a file is actively downloaded, including files in the download section of the site. Salesforce limits the number of Long Running API requests in your org. Jan 6, 2023 · I have reset your daily API limit and everything should work perfectly. If the only limit was on the number of requests sent by a user, it would be possible to bypass it. When an burst call limit is exceeded, you will receive an exception for each additional call until the start of the next burst window. Partner – Expected Behavior – NPI EA (tag=PDF) View your API Usage. these quotas limit how much each user can send. Even though Lambda automatically scales to accommodate incoming traffic, your function can still be throttled for various reasons. GitHub. The rate limits are designed to protect the APIs against attacks (such as DDoS attacks), and to prevent manipulation of our order books (such as by rapidly placing and cancelling large orders). If your API is the target of a malicious DoS attack, for example, it can go down entirely. To avoid impact to your workloads, you should proactively implement retry techniques. Find Out What Consumes the Most CPU Time. Get karma. ) Rate limit remaining: 0/60 Rate limit reset at: 2019-09-20 17:45:53 UTC To increase your GitHub API rate limit - Use `usethis::browse_github_pat()` to create a Personal Access Token. 1. Rate-Limiting Headers. DON'T upvote your bot's posts manually, as this can get Sep 20, 2019 · (But here's the good news: Authenticated requests get a higher rate limit. There are some exceptions to the 100 API call limit. If not, clicking Quota shows information about any free quota and limits that apply to the Translate API. The maximum number of requests that are allowed is based on a time interval, some specified period or window of time. Graph API and Instagram Basic Display API Feb 23, 2024 · For instance, the standard search API endpoint has a rate limit of 180 requests per 15-minute window for authenticated users. x. If your app sends 350 requests in one minute, the additional 50 requests exceed the quota and generates a 429: Too many requests HTTP status The Web API has rate limits in order to keep our API reliable and to help third-party developers use the API in a responsible way. Authenticated Request limits. 10 queries per second (QPS) per IP address . You can see your available data storage by navigating into Setup > System Overview. Limits are not exceeded. Visit the Enabled APIs page of the API library in the API Console, and select an API from the list. Rate limiting helps to prevent resource overuse and protect against various types of abuse, such as denial-of-service attacks or brute force attacks. Description. Please note, this email regarding exceeded API call rate limit is not related to the One such limit is applied to the maximum number of Asynchronous Apex method executions (batch Apex, future methods, Queueable Apex, and scheduled Apex) per a 24-hour period. This limit is applied at the time a pending tenant joins a multitenant organization. Depending on the plugins you use, you may want to log other packages, for instance org. The limit is typically 250,000 or the number of user licenses in your org multiplied by 200, whichever is greater. Does anyone know how to roughly get the ratelimits on the web API’s? What is the Sep 12, 2021 · The CoinGecko API is completely free on RapidAPI and has a rate limit of 50 calls/minute. Dec 21, 2021 · You can write your topic however you want, but you need to answer these questions: What do you want to achieve? I want to have my bot handle ratelimits, but this has to be done through either the 429 errors, or the Retry-After method. API rate limiting also protects your site from Distributed Denial of Service (DDoS) attacks. One or more API rate limits can be active at the same Feb 27, 2018 · Hopefully the API you are using has a reliable "last-modified" date so you can detect when your cache is stale. These actions have a lower throttling limit than non-mutating API calls. You make 1 request with a 150,100 token input. g. Scroll down to Environments, expand the menu, and then click on System Overview. Apr 9, 2024 · 1 is the default limit. 5 days ago · Some apps may invoke the REST API concurrently via the use of multiple threads and/or multiple execution nodes. The owner tenant can add more than 5 pending tenants, but they won't be able to join the multitenant organization if the limit is exceeded. See Tracking API activity against your rate limit. When this is the case, developers may choose to share rate limit responses between threads and/or execution nodes such that API requests take into account rate limiting that may have occurred in other execution contexts. Feb 6, 2023 · If a client hits the rate limit, for example, 30 requests per minute, the backend server sends the HTTP status code 429 "Too Many Requests", as defined in RFC6585. The Google Groups for Business service has its own Gmail message and posting limits. Please do note that API Limits reset every day at midnight Eastern Standard Time zone, you can simply wait for a day for the limit to reset. MaxValue; x. Let us know if you have any more questions. You can remove quotas on your app by scaling up your App Service Plan. This May 23, 2024 · In this article, we examined the java. Access to raw files. Any REST API can return a rate limit response. Feb 20, 2019 · The API response will give you headers which tell you exactly how long, you can use them to wait. Maximum messages per day. This is primarily done to maintain a service’s stability, performance, and security by protecting it from excessive usage, spam, or potential denial-of Nov 19, 2021 · What is API Rate Limiting? It is the process through which you limit the amount of traffic coming to your API by a single IP address. There are global and a subreddit-specific rate limits. 04 Nov 1, 2023 · To view or change usage limits for your project, or to request an increase to your quota, do the following: If you don't already have a billing account for your project, then create one. These quotas can not be extended. Some systems may have physical limitations on data transference. Please note that API Limits reset every day at midnight Eastern Standard Time zone, you can simply wait for a day for the limit to reset. Rate limiting is a technique used in network and application security to control the rate at which user requests are allowed to interact with a web or API resource. This indicates that the script exceeded one of the quotas or limitations listed above. Your forms would work and users can view your forms, but some widgets might not function properly because of this. Whenever your app generates more API calls per second than is allowed by your plan, you will receive an email notification. From here, you will be able to see the number of API requests in the last 24 Jul 4, 2023 · Verified accounts can now read 6,000 posts per day, unverified accounts 600 posts and new un-verified accounts 300 posts. User rate quotas are flood protection they ensure that a single user of your application can not make to many requests at once. 0 What is the rate limit on github commits api. To understand the difference between rate limits and quotas, see Rate limits and quotas. View your API Usage. Aug 25, 2020 · Basically what is happening is that GitHub has a limit of how many requests could be sent per hour. So in my . Apr 7, 2023 · In this video, we'll look at a quick fix for AutoGPT's API Rate Limit Reached Issue. If any quota is exceeded the site will be stopped until that quota resets. save. A maximum of 100,000 internal users per active tenant. Mar 22, 2024 · Check API Documentation. And you can monitor your usage by navigating into Setup > Administration Setup > Data 3. Additionally, there is a limit on requests to /1/members/ of 100 requests per 900 seconds. Select your app from the list and navigate to its Mutating actions — API actions that create, modify, or delete resources. @timeline = @client. github_branch_source. In Salesforce, click on Setup in the top right hand corner. You can get around the global limit by getting your comment karma up to ~3 (e. Partner – Expected Behavior – NPI EA (tag=PDF) Jul 22, 2023 · Store the API results in your third-party app if you reckon you will need them for a prolonged period. If the rate limit is exceeded, the API responds with a 429 Too Many Requests status code. This indicates that the script called the given service too many times in one day. Your application's daily rate limit varies based on which API endpoint you are using. This code is “DeviceMessageRateExceeded” for a HTTP Connection Server and “DEVICE_MESSAGE_RATE_EXCEEDED” for a Cloud Connection Server. Feb 3, 2024 · When you see the message ‘API rate limit exceeded’, it means that the client has sent more requests than allowed by the API within the specific timeframe. If that can't help, you need higher rate limits. You can change the default to a value between 1 and 50 inclusively. Fixing the Twitter “Rate Limit Exceeded” Error May 16, 2023 · You can read more about it here: Daily API Call Limits. xml or the Gradle build. This limit is highest number of "apply to each" loop iterations that can run at the same time, or in parallel. Git Operations (both HTTPS and SSH requests) 60,000 requests per hour. ValueLengthLimit = int. You could have one API rate limit per second and a different API rate limit per-hour. Rate limit windows are per minute. The most common request limit interval is fifteen minutes. This means you are given a quota of say 10000 points which you can spend on requests. According to the OpenAI documentation, there are different rate limits: Feb 5, 2023 · Service protection API limits are enforced based on three facets: The number of requests sent by a user. limit. Sep 6, 2023 · API service will return to normal automatically. The limits are per minute but if you exceed you coudl be looking at a several minute delay. You also might look at the posts under "Related" on the right, for example this one which talks about the Streaming API and seems to do what you're looking for. I'm getting a Limit Error: (#613) Calls to this api have exceeded the rate limit. You haven‘t crossed the 150,000 TPM limit, but you exceeded 10 RPM so you‘ll be rate limited. Standard rate limits are not published in documentation. Rate-limiting headers are HTTP headers that are returned by a REST API in response to an API request. By default this is typically set to 25 long running API calls over 20 seconds. The following table details the main request limits: 250 quota units per user . This action reset my soft limit, but I still needed to create a new API key to resolve the issue completely. When using the Google Cloud Messaging API to send messages between a backend server and an Android/Chrome client, the backend server can, at times, receive a rate limit exceeded response code. Overwhelming an endpoint with traffic is an easy and efficient way to execute a denial of service attack. You can read more about it here: Daily API Call Limits. To help prevent strain on Trello’s servers, our API imposes rate limits per API key for all issued tokens. Benefits of rate limiting for API providers Aug 4, 2020 · API rate limiting is, in a nutshell, limiting access for people (and bots) to access the API based on the rules/policies set by the API’s operator or owner. AddMvc(); services. This limit cannot be changed. (But here’s the good news: Authenticated requests get a higher rate limit. This simply says the data storage allocated for your organization has been exceeded. Feb 27, 2018 · API-Limit exceeded I ran a test and can still submit the form, the logic works fine, automated emails are being delivered, and I can see the form submissions in real-time when logged in via desktop. Jun 7, 2024 · gRPC limitations. Apr 3, 2024 · To speed up requests, Google recommends a 2-MB maximum payload. Step 2: Add the Rollbar Java SDK dependency to your Java project and to the build configuration file (for example, the Maven pom. kohsuke. These are: Request Frequency Rate Limits: these are limits based on the number of requests in a defined time range. API requests made by a throttled user or app will fail. Give it another go. However, roblox doesn’t have the Retry-After header during 429 requests. Drive can handle a burst of (approx) 20 update transactions well, but after that it throttles transactions to a rate of approx 1 per 2 seconds. com/course/a Mar 5, 2024 · Usage limits. Also give a look at the Jenkins JIRA, there are many related tickets and various fixes or improvements available. The rate limit is dependent on the amount of credits paid on your account and how long it has been since you have made your first payment. MultipartBodyLengthLimit = int. Each Web API method is assigned one of four rate limit tiers, listed above. For example, refreshing your page takes three API calls because it will request all Tweets, replies, and DMs. Nov 19, 2021 · In my application I am making authenticated requests to the GitHub search API with a token. 6. 2. For example: services. When you use a service account, the service account's identity is the user for quota purposes. Set rate limits that are appropriate for your Deep Security Manager environment. Each connector has a certain API call limit, PostGreSQL has the following: As a general rule of thumb: Keep your formulas delegable. Split on items. You can look up the rate limit of any endpoint your app has access to through the Developer Portal. Let’s assume that we have enabled the live Debug Log and witnessed the Apex CPU Time Limit exception in the Account trigger. Exceeding these limits results in rate limit exceeded errors, prompting developers to adjust their usage patterns or upgrade to premium tiers for higher rate limits. per day (or 24-hour periods) per month. Spotify's rate limit Spotify's API rate limit is calculated based on the number of calls that your app makes to Spotify in a rolling 30 second window. If you're using an SDK, see our Mar 7, 2023 · Hi @SacG31, At first sight, this looks to be caused by executing too many API calls within a given time frame. Verify the bot account's email address. Steps: Navigate to tomcat folder (C:/tomcat) There will a folder named - "work" and then - "catalina" then - "localHost". 19. The Translate API". The number of concurrent requests sent by a user. There is a limit of 300 requests per 10 seconds for each API key and 100 requests per 10 second interval for each token . Service invoked too many times in a short time: Calendar. gradle). Rate limits protect against that by curtailing the number of requests that come into your server. (But here’s the good May 23, 2024 · In this article, we examined the java. 200 points/second. Enroll for the best Generative AI Course: https://www. OutOfMemoryError: GC Overhead Limit Exceeded and the reasons behind it. 1377013266 {"message": "API rate limit exceeded for xxx. Jun 16, 2023 · Now before you mark this as a duplicate, I have read other threads (Multipart body length limit exceeded exception). However, your application should be built to handle limits gracefully. Check out the documentation for more details. When the call rate is exceeded, the caller receives a 429 Too Many Requests response status code. per minute. On the right hand side of the page, you should see a section labeled API Usage. Currently I'm testing this by sending the same message several times to the same user (me); in a real world scenario, the same message would be sent to several different users of course. If your API becomes overloaded, its performance suffers. Inside C:/tomcat/webapps there will be files, delete all and rebuild. Feb 27, 2018 · The API calls decreases every second when I check the limit-left, are you still experiencing the API limit exceeded error? Do note that, our system automatically resets the daily API call limits at midnight for the Eastern Standard Time(EST) zone. 85. It will also give you the number of call available in your throttle window so you use that to limit yourself. For more information, see our REST API Guide: Requests & Responses. My AWS Lambda function is producing "Rate exceeded" and 429 "TooManyRequestsException" errors. The Spot API rate limits are divided into three sections (public, private, trading) depending upon the API interface being used (REST or WebSocket) and A rate limit is the number of API calls an app or user can make within a given time period. To view and change quota-related settings, select Quotas. The Signature Success plan’s Proactive Monitoring Jun 12, 2024 · Per user quotas apply to the number of requests that an end user, who is using a client application, can make per minute. 33. An API is not limited to picking just one of these. 100 points/second. Once this limit is exceeded, you may encounter Concurrent API Errors, caused by subsequent requests’ attempts to process whilst the limit is exceeded. If this limit is exceeded or if CPU or total time limits are exceeded, the app or user may be throttled. Tier 1 accepts the fewest requests and Tier 4 the most. The issue is solely on the JotForm app. Shopify may temporarily reduce API rate limits to protect platform stability. Acute: your application makes bursts of calls that exceed the rate limit, but on Nov 4, 2022 · General quota limits. Near the top of the info page for the API, click Quota. This category generally includes all API actions that are not categorized as non-mutating actions, such as CreateVolume, ModifyHosts, and DeleteSnapshot. end. Sep 18, 2019 · config. 88 Rate limit exceeded The request limit for this resource has been reached for the current rate limit window. ) Now, there is a way to increase the unauthenticated rate limit for OAuth applications which involves using the client secret. When a call is made and an API rate limit is exceeded, the response code is 429 with the message Too many API requests. By using a global rate limit you can easily ensure that all incoming requests are within a specific limit. But no answers have worked so far. GITHUB_ACCESS_TOKEN=$(token) carthage update --platform iOS. However, if you want to be more precise, you can also see the x-ratelimit-limit Aug 22, 2017 · Applications hosted in a free or shared App Service plan are subject to usage quotas. 4 ways you will be rate limited. Sep 8, 2009 · It may happen when you work with that tomcat for the long time. Jan 5, 2021 · Limits. access_token_secret = user. I am making a request every 2s to stay within the primary rate limit of 30 reqs per minute (so not concurrently) and I am also validating every request with the GitHub rate limit API before I make the actual search API call. 2,000. By default, gRPC has a message size of 4 MB, but our client libraries set the max message size to 64 MB in order to increase efficiency. 0. May 13, 2020 · In order to be aware that the Apex CPU Time Limit has occurred, you need to enable and observe the live Debug Log. The following quotas apply to Management API , Core Reporting API v3 , MCF Reporting API , Metadata API , User Deletion API, and Real Time Reporting API: 50,000 requests per project per day, which can be increased. Web API rate limiting . All of the Google Ads API client libraries use gRPC for generating requests and responses. The combined execution time required to process requests sent by a user. Oct 29, 2015 · 4. This is Get Started Request a demo. The following are just a few examples: May 16, 2018 · GitHub v3 (a RESTful API that was replaced with a GraphQL, but is still floating around) is still using 403: HTTP/1. One of the first steps in troubleshooting rate limit exceeded errors is to consult the API documentation provided by the API provider. Get github API results more than 100. Conclusion is that they have to be set in the Startup class. At Merge, we have seen hundreds of APIs, and have observed four major ways APIs implement rate-limiting. Both are part of the backend rate limiting. Feb 19, 2020 · rate limits are usually implemented to restrict access to the service and prevent DDOS in some cases. Jan 30, 2019 · Also, the "403 Rate Limit Exceeded" errors that you are seeing may be occurring due to the number of read/write requests that you are performing per user per sec in your application. Lambda functions are sometimes throttled to protect your resources and downstream applications. You can use the following response headers to confirm the account's current rate limit and monitor the number of requests remaining in the current minute: X-Rate-Limit: 700 X-Rate-Limit-Remaining: 699. The documentation usually contains information about the rate limits, including the allowed number of requests and the time frame in which they are measured. Daily sending limit per user account*. Nov 12, 2015 · GitHub API rate limit exceeded. - 5,000 for Low without trigger concurrency. udemy. Delete that localhost folder. }) This will solve the problem. Configure API rate limits. What is the rate limit on github commits api. Load 7 more related questions Show fewer related questions Sorted by Use a try-except-block and keep the bot running until reddit accepts the response. The purpose of setting an API rate limit is mainly to protect the server from abuse or overload. 400 points/second. lang. Now, we are aware. There's also a special tier for rate-limiting behavior that's unique to a method. User Rate Limit Exceeded. Rate limit responses Rate limit detection. The former had over 40,000 tweets as of Saturday noon. Jul 1, 2023 · “Rate Limit Exceeded” and “#TwitterDown” are the two top trending topics on the app in the US, for those who have use of it. The exception message states: "BURST_APIINVOCATION_LIMIT_EXCEEDED" The reset time is shown in Unix epoch time. "Rate limit exceeded. 1,500 for mail merge (previously called multi-send) 500 for trial accounts. By default, Okta API tokens created through the Admin Console ( SecurityAPITokens) are configured to have 50 percent of an API endpoint's rate limit. Hot Network Questions SCP failing on 24. NET 6 API I am expecting a form. home_timeline(max_id: max_id,count: 100) @timeline. " means you are submitting requests to Drive too quickly. Limit type. Nov 8, 2023 · Let‘s look at some examples to make this crystal clear: You make 10 requests of 500 tokens each = 5000 total tokens. in r/FreeKarma ). github. (But here's the good news: Authenticated requests get a higher rate limit. However, different actions can count as more than one API call. Generally, limits are configured to be a number of requests per second (for example, 10/s 1. Here is an example for Maven: 12. The following table defines our API request limits for authenticated requests: Limit type. Quotas might be different if you're using Google Apps Script. Browse https://JENKINS_URL/log/ and add a logger on org. jenkinsci. Authenticated – 5,000 requests per hour per user. If an endpoint has a rate limit of 900 requests/15-minutes, then up to Jul 22, 2021 · Then there is the user based quotas. plugins. These limits help us provide the reliable and scalable API that our developer community relies on. Cancel paid account and recreate with new payment method; Confirm Organization; Create new API Key A maximum of 5 active tenants, including the owner tenant. After that, users will get a message that says, "rate limit exceeded Mar 18, 2024 · The rate-limit policy prevents API usage spikes on a per subscription basis by limiting the call rate to a specified number per a specified time period. I have tested this API on RapidAPI, and I'm getting the expected response. The YouTube data api is a cost based quota. MaxValue; // In case of multipart. Feb 14, 2022 · API-level rate limiting assesses all traffic coming into an API from all sources and ensures that the overall rate limit is not exceeded. You can change the default API token capacity values in the Admin Console. Rate limiting allows API developers to ensure an API will reject requests that exceed a set limit. Sheets API has per-minute quotas, and they're refilled every minute. By limiting the number of requests, the API ensures stability, reliability, and Apr 18, 2019 · API owners typically measure processing limits in Transactions Per Second (TPS). This doesn‘t exceed 20 RPM but crosses the 150,000 TPM limit, so you‘ll get When a rate limit is exceeded, the manager does not process requests until the call rate falls below all rate limits. Mar 17, 2021 · The YouTube data api is a cost based quota as opposed to a request based quota. 1 403 Forbidden X-RateLimit-Limit: 60 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1377013266 { "message": "API rate limit exceeded for xxx. Responses must not exceed this limit. From here, you will be able to see the number of API requests in the last 24 Mar 31, 2023 · Next, I went to the 'API Keys' section, selected my organization under the 'Default Organizations' dropdown, and saved the changes. Please consider trying the following steps to reduce the errors: You may need to optimize your code by reducing the number of api calls made simultaneously per The exceeding of API calls limit means that your number of active users generating API calls that exceeds the limit of your current plan. 429 Too Many Requests When a request cannot be served due to the application’s rate limit having been exhausted for the resource. xxx. Mar 5, 2024 · Limit exceeded: Email Attachments Per Message. Jan 27, 2023 · API rate limits are typically set up to limit the number of requests either by: per second. May 16, 2018 · One of the hardest things to limit are API calls to a third party being made directly to the client. Means that you are hitting a user rate quota. Go to the left hand column. If the attacker tries to tank your server by launching a DDoS attack, the rate-limiting will stop addressing the API Aug 3, 2021 · If an API rate limit is exceeded, you will often receive a RequestLimitExceeded or ThrottlingException response and the API call will be throttled. We can think of rate limiting as a form of both security and quality control. Dec 14, 2023 · An API rate limit is a restriction imposed by service providers on the number of requests that can be made to an API (Application Programming Interface) within a specific period of time. The Gmail API is subject to a daily usage limit, that applies to all requests made from your application, and per-user rate limits. If you have the billing enabled, just click Quota and it will take you to the quota page where you can view and change the quota-related settings. per hour. Your app's requests to the Web API are evaluated per method, per workspace. In the API Console, there is a similar quota referred to as Nov 1, 2016 · I found the solution for this problem after reading some posts in GitHub. regarding the second point, the only way to be able to perform more than 5000 requests per hour is to ask OneLogin to increase the limit for your account (of course if they offer this) Nov 1, 2021 · GitHub API rate limit exceeded. This is why rate limiting is integral for any API product’s growth and scalability. Learn more App Service plan/pricing tier: Dec 20, 2014 · The clue is in the question. Jul 6, 2023 · Twitter’s rate limit is a tool created to control how their application programming interface (API) is used in order to stop abuse and provide equitable access to resources. Limit. As always, the source code related to this article can be found over on GitHub . Normally, the standard limits for the GitHub API are: Unauthenticated – 600 requests per originating IP address. For example, there's a read request limit of 300 per minute per project. Up until today, passing a Personal Access Token in this way worked well to avoid the API rate limit exceeded message, but suddenly I'm getting this error: API rate limit exceeded for 199. If you use Cloud Translation - Basic and an API key, Cloud Translation uses the client's IP address to enforce this limit. Service invoked too many times: Calendar. Nov 8, 2023 · This also happened to me when I sent a lot of prompts via the API. It should be working fine now. The API typically responds with a 429 "Too Many Requests" status code when a client exceeds this limit. - 100,000 for all others without trigger concurrency. This configuration avoids one API token exceeding the endpoint's rate limit violation in an org with multiple API tokens. Configure<FormOptions>(x => {. All API requests are subject to rate limits. Feb 4, 2016 · EDIT: This link also has a better organized reference guide about HTTP status codes. Each limit is identified in terms of quota units, or an abstract unit of measurement representing Gmail resource usage. secret. Jul 31, 2023 · Step 1: Set up your account on Rollbar and obtain the Rollbar access token. Jan 25, 2021 · I have been getting this as well and yes I am using a program to help quick price items for me in game, Do you know how long it takes for the rate limit to lift so I may continue using the market? your 3 party program is properly the problem here and the rate limit is GGG's defense about your IP spamming their backend API's- 5 days ago · A rate limit on the requests containing this header applied per app in a tenant; For more information about these rate limits, see the App migration platform documentation. API rate limit exceeded for xxx. ti wt xj cr oy bs dp xn hj bj